package com.macro.mall.mapper;

import com.macro.mall.model.RpsTopicResult;
import com.macro.mall.model.RpsTopicResultExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RpsTopicResultMapper {
    long countByExample(RpsTopicResultExample example);

    int deleteByExample(RpsTopicResultExample example);

    int deleteByPrimaryKey(Long id);

    int insert(RpsTopicResult record);

    int insertSelective(RpsTopicResult record);

    List<RpsTopicResult> selectByExample(RpsTopicResultExample example);

    RpsTopicResult selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") RpsTopicResult record, @Param("example") RpsTopicResultExample example);

    int updateByExample(@Param("record") RpsTopicResult record, @Param("example") RpsTopicResultExample example);

    int updateByPrimaryKeySelective(RpsTopicResult record);

    int updateByPrimaryKey(RpsTopicResult record);

    List<RpsTopicResult> list(String dataType);
}